<?php

class Application_Form_StatussupplierForm extends Zend_Form
{

    public function init()
    {
        $this->setMethod('post');
        
        $id_supplier = new Zend_Form_Element_Hidden('id_status_supplier');
        $id_supplier->removeDecorator('HtmlTag')->removeDecorator('label');
        
        $status_supplier = new Zend_Form_Element_Text('status_supplier');
        $status_supplier->setLabel('Status Supplier')->setRequired();
        
        $keterangan = new Zend_Form_Element_Textarea('keterangan_status_supplier');
        $keterangan->setLabel('Keterangan')->setAttribs(array('cols'=> 60, 'rows'=>10));
        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Tambah');
        
        $reset = new Zend_Form_Element_Reset('ulang');
        $reset->setLabel('Ulang');
        
        $this->addElements(array($status_supplier, $keterangan, $submit, $reset, $id_supplier));
        
    }


}

